FOR EACH pc_mstr WHERE pc_start <= TODAY AND (TODAY <= pc_expire OR pc_expire = ?):
     
    FIND FIRST in_mstr WHERE in_part = pc_part NO-LOCK NO-ERROR.
    IF NOT AVAILABLE in_mstr THEN DO:
        DISP pc_part pc_start pc_expire pc_amt[1].
        FIND FIRST sct_det WHERE sct_part = pc_part AND sct_sim = "standard" AND sct_site = in_site NO-LOCK NO-ERROR.
        DISP pc_list pc_mod_date pc_part pc_start pc_expire pc_amt[1] sct_cst_tot WHEN AVAILABLE(sct_det).
    END.
END.
